package overview;

/**
 * @author oldliu
 * @since 1.0
 */
public class Calc {
    public int add(int a,int b){
        System.out.println("两个int相加");
        return a+b;
    }
    public double add(double a,double b){
        System.out.println("两个double相加");
        return a+b;
    }

    public static void main(String[] args) {
        Calc c=new Calc();
        int i=100;
        double j=40.5;
        c.add(i,j);
    }
}
